﻿    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<ProjectFitus.Models.Specialist>" %>

        <fieldset>
            <legend>Fields</legend>
               
            <div class="editor-label">
                <%: Html.LabelFor(model => model.professionId) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.professionId) %>
                <%: Html.ValidationMessageFor(model => model.professionId) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.specialty) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.specialty) %>
                <%: Html.ValidationMessageFor(model => model.specialty) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.workEmail) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.workEmail) %>
                <%: Html.ValidationMessageFor(model => model.workEmail) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.workPlace) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.workPlace) %>
                <%: Html.ValidationMessageFor(model => model.workPlace) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.workPhone) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.workPhone) %>
                <%: Html.ValidationMessageFor(model => model.workPhone) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.isOnline) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.isOnline) %>
                <%: Html.ValidationMessageFor(model => model.isOnline) %>
            </div>
            
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.dateCreated, String.Format("{0:g}", Model.dateCreated)) %>
                <%: Html.ValidationMessageFor(model => model.dateCreated) %>
            </div>
            

        </fieldset>




